package com.amx.Pojo;

import lombok.Data;
import lombok.ToString;

/**
 * @author 一只安慕嘻
 * @create 2021-08-03 21:11
 */

@Data
@ToString
public class User {

    private int id;
    private String username;
    private String password;
    private String email;
    private String role;
    private boolean state;

    public User() {
    }

    public User(String username, String password, String email, String role, boolean state) {
        this.username = username;
        this.password = password;
        this.email = email;
        this.role = role;
        this.state = state;
    }
}
